package com.eunion.web.cms.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 *翻倍收益
 */
@Entity
public class DoubleEarnings implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	private Integer id;

	private String username;

	private Date occurdate;

	private BigDecimal doublebeforeamount;

	private Double multiple;

	private BigDecimal amount;

	private Date createtime;

	private Integer type;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Date getOccurdate() {
		return occurdate;
	}

	public void setOccurdate(Date occurdate) {
		this.occurdate = occurdate;
	}

	public BigDecimal getDoublebeforeamount() {
		return doublebeforeamount;
	}

	public void setDoublebeforeamount(BigDecimal doublebeforeamount) {
		this.doublebeforeamount = doublebeforeamount;
	}

	public Double getMultiple() {
		return multiple;
	}

	public void setMultiple(Double multiple) {
		this.multiple = multiple;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public DoubleEarnings(Integer id, String username, Date occurdate, BigDecimal doublebeforeamount, Double multiple, BigDecimal amount, Date createtime, Integer type) {
		super();
		this.id = id;
		this.username = username;
		this.occurdate = occurdate;
		this.doublebeforeamount = doublebeforeamount;
		this.multiple = multiple;
		this.amount = amount;
		this.createtime = createtime;
		this.type = type;
	}

	public DoubleEarnings() {
		super();
	}

}
